<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<div class="top"></div>
<div class="navbar navbar-inverse navbar-fixed-top">
    <div class="navbar-inner">
      <div class="container">
        <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="brand" href="#">A Tool</a>
        <div class="nav-collapse collapse">
          <ul class="nav">
            <li <s:if test="#title == 'title.home'" >class="active"</s:if>><a href="/home">首页</a></li>
            <li <s:if test="#title == 'title.relativeword'" >class="active"</s:if>><a href="/relativeword">搜索相关词</a></li>
            <li <s:if test="#title == 'title.searchhot'" >class="active"</s:if>><a href="/searchhot">首页热搜</a></li>
            <li <s:if test="#title == ''" >class="active"</s:if>><a href="#about">关于</a></li>
            <li <s:if test="#title == ''" >class="active"</s:if>><a href="#contact">联系</a></li>
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </div>
  </div>
